<?php

namespace Wilead\ApiBundle\Form;

use Symfony\Component\Form\AbstractType;
use Symfony\Component\Form\FormBuilderInterface;
use Symfony\Component\OptionsResolver\OptionsResolverInterface;

class UserPrivacyType extends AbstractType {

    public function buildForm(FormBuilderInterface $builder, array $options) {
        $builder
                ->add('friendVerification')
                ->add('searchAble')
                ->add('albumsViewAll')
                ->add('albumsViewFriend')
                ->add('albumsViewOrganization')
                ->add('videoViewAll')
                ->add('videoViewFriend')
                ->add('videoViewOrganization')
                ->add('resumeViewAll')
                ->add('resumeViewFriend')
                ->add('resumeViewOrganization')
        ;
    }

    public function setDefaultOptions(OptionsResolverInterface $resolver) {
        $resolver->setDefaults(array(
            'data_class' => 'Wilead\IArtistBundle\Entity\User',
            'csrf_protection' => false,
        ));
    }

    public function getName() {
        return '';
    }

}
